package com.ruoyi.app.zzq.service;

import com.ruoyi.app.zzq.domain.Team;
import com.ruoyi.app.zzq.domain.User;

import java.util.List;

public interface MigrateService {
    Team SelectServerByid(String id);

    List<User> SelectServermember(String teamid);
    int DisbandServerTeam(String teamid);

    int ServerCaptainTransfer(String teamid, String userid, String captain);

    List<Team> SelectMyServerByid(String id);

    boolean Isjoin(String teamid, String userid);

    int joinServer(String teamid, String s);

    int outServer(String teamid, String s);

    String IsjoinHeart(String s);

    String joinHeart(String s);

    List<Team> SelectServerBykey(String key);

    boolean isTeamLeader(String teamid, String s);

    int outHeart(String s);

    int KillTeam(String teamid);

    List<User> getHeartMember(String teamid);
}
